      FXForceData    C:\Users\KatachiHome\AppData\Roaming\MAXON\CINEMA 4D R13_05DFD2A0\plugins\DPIT Plants & Effex 2.0\res\help\EN\Effex\fx_api_classes_plugins_fxforcedata.html   r                                                                                                                                           (   default.tif                  Object Header               1[code]virtual bool Precompute (FXServer* server)   Overloaded to precompute or allocate any data required when the force is sampled.
<br></br>
<b>Returns</b><br>
false if there was an error. If so, the node is set as not-operational (for example if a
port is not filled although it is necessary for your plugin to correctly operate).
<br></br>
<b>Parameters</b><BR>
<i>FXServer* server</i>:<br>
The server this node is called from. Use it to retrieve any information you may need..                   3[code]virtual bool PrecomputeMP (FXServer* server)   Overloaded to precompute or allocate any data required when the force is sampled in a multiprocessor context.
<br></br>
<b>Returns</b><br>
false if there was an error. If so, the node is set as not-operational (for example if a
port is not filled although it is necessary for your plugin to correctly operate).
<br></br>
<b>Parameters</b><BR>
<i>FXServer* server</i>:<br>
The server this node is called from. Use it to retrieve any information you may need..                   *[code]virtual void Process (void* t_data)   Overloaded to process the main code of your force. Make sure your force supports multiprocessor execution.
<br></br>
<b>Parameters</b><BR>
<i>void* t_data</i>:<br>
You can cast this pointer to ProcessData at least:<br>
FXAPI::ProcessData* base_data = static_cast&lt; FXAPI::ProcessData* &gt;(t_data);
<br></br>
Then depending on base_data->mode you can cast it to either ProcessDataGrids (mode==0) or ProcessDataParticles (mode==1).<br>
This will contain additional information passed from the node that is calling your force.                  )[code]virtual void FreePrecompute (void)    IOverloaded to free any precomputed data (in Precompute or PrecomputeMP).                                  